<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

<div style="width: 300px;height: 300px; border: red solid 1px">
    <p><marquee behavior="" direction="right" scrolldelay="1" >向右滚动</marquee></p>
    <p><marquee behavior="alternate" direction="right" scrolldelay="1" loop="2" >左右循环滚动2次</marquee></p>
    <p><marquee behavior="alternate" direction="up" scrolldelay="1" loop="2" bgcolor="green" width="200" height="100" >上下循环滚动2次</marquee></p>
</div>



<applet code="ShowImage.class" width=600 height=400 archive="Imagetest.jar"></applet>


</body>
</html>